﻿<Grid x:Class="TabletopWidgetTestApp.ZoomMenu"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             xmlns:surfnet="clr-namespace:TableTopWidgets;assembly=TableTopWidgets"
             d:DesignHeight="0" d:DesignWidth="0">
    <Grid.Resources>
        <Style x:Key="Positioning" TargetType="{x:Type Grid}">
            <Setter Property="Height" Value="28"/>
            <Setter Property="Width" Value="28"/>
            <Setter Property="Margin" Value="0,-21,0,0"/>
        </Style>
    </Grid.Resources>
    <surfnet:RadialMenu MinRadius="45" MaxRadius="85" PieSize="86" Orientation="105" Margin="-20,15,20,-15">
        <surfnet:RadialButton Background="AliceBlue" Click="ZoomIn">
            <Grid Style="{DynamicResource Positioning}">
                <Ellipse Fill="#FF132C44" Stroke="{x:Null}" />
                <Rectangle Fill="Gray" Stroke="{x:Null}" Margin="4,0,4,0" VerticalAlignment="Center" Height="2" />
                <Rectangle Fill="Gray" Stroke="{x:Null}" Margin="0,4,0,4" HorizontalAlignment="Center" Width="2" />
            </Grid>
        </surfnet:RadialButton>
        <surfnet:RadialButton Background="AliceBlue" Click="ZoomOut">
            <Grid Style="{DynamicResource Positioning}">
                <Ellipse Fill="#FF132C44"/>
                <Rectangle Fill="Gray" Stroke="{x:Null}" Margin="4,0,4,0" VerticalAlignment="Center" Height="2" />
            </Grid>
        </surfnet:RadialButton>
    </surfnet:RadialMenu>
    <surfnet:RadialMenu x:Name="centerMenu" PieSize="360" Orientation="0" MaxRadius="22">
        <surfnet:RadialButton Click="zoomResetButton_Click" Background="AliceBlue"  Foreground="Black" FontSize="14" FontWeight="Black">
            Reset
        </surfnet:RadialButton>
    </surfnet:RadialMenu>
</Grid>